package com.huitone.gddw.service.dto;

import java.util.Date;

public class SvrSpeedDTO {
	private Integer seq;
	
	private String recId;
	
	private String svrNode;

	private String serviceCode;
    
    private String limittype;	//2：流量，1：流速
    
    private Integer flowspeed;	//流量值、流速值
    
    private String timeunit;	//单位，1：条/秒    2：条/分    3：条/时 	4：条/日    5：条/月
    
    private String status;	//状态，0：无效，1：有效
    
    private String remark;	//说明
    
    private Date insertTime;

    private String insertStaffId;

    private Date lastModTime;
    
    private String lastModStaffId;
    
    private String svrNodeName;
    
    private String serviceName;

	public Integer getSeq() {
		return seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public String getRecId() {
		return recId;
	}

	public void setRecId(String recId) {
		this.recId = recId;
	}

	public String getSvrNode() {
		return svrNode;
	}

	public void setSvrNode(String svrNode) {
		this.svrNode = svrNode;
	}

	public String getServiceCode() {
		return serviceCode;
	}

	public void setServiceCode(String serviceCode) {
		this.serviceCode = serviceCode;
	}

	public Integer getValue() {
		return flowspeed;
	}

	public void setValue(Integer value) {
		this.flowspeed = value;
	}
	
	public String getLimittype() {
		if (null == this.limittype) {
			return "未知";
		}
		if (this.limittype.equals("1")) {
			return "流速";
		}
		if (this.limittype.equals("2")) {
			return "流量";
		}
		return "未知";
	}

	public void setLimittype(String limittype) {
		this.limittype = limittype;
	}

	public Integer getFlowspeed() {
		return flowspeed;
	}

	public void setFlowspeed(Integer flowspeed) {
		this.flowspeed = flowspeed;
	}

	public String getTimeunit() {
		if (null == this.timeunit) {
			return "未知";
		}
		if (this.timeunit.equals("1")) {
			return "条/秒";
		}
		if (this.timeunit.equals("2")) {
			return "条/分";
		}
		if (this.timeunit.equals("3")) {
			return "条/时";
		}
		if (this.timeunit.equals("4")) {
			return "条/日";
		}
		if (this.timeunit.equals("5")) {
			return "条/月";
		}
		return "未知";
	}

	public void setTimeunit(String timeunit) {
		this.timeunit = timeunit;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getInsertTime() {
		return insertTime;
	}

	public void setInsertTime(Date insertTime) {
		this.insertTime = insertTime;
	}

	public String getInsertStaffId() {
		return insertStaffId;
	}

	public void setInsertStaffId(String insertStaffId) {
		this.insertStaffId = insertStaffId;
	}

	public Date getLastModTime() {
		return lastModTime;
	}

	public void setLastModTime(Date lastModTime) {
		this.lastModTime = lastModTime;
	}

	public String getLastModStaffId() {
		return lastModStaffId;
	}

	public void setLastModStaffId(String lastModStaffId) {
		this.lastModStaffId = lastModStaffId;
	}

	public String getSvrNodeName() {
		return svrNodeName;
	}

	public void setSvrNodeName(String svrNodeName) {
		this.svrNodeName = svrNodeName;
	}

	public String getServiceName() {
		return serviceName;
	}

	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}

}
